home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dirut
/
secret3.zip
/
SECRET.DOC
< prev
Wrap
Text File
|
1992-10-23
|
4KB
|
103 lines
PROGRAM: MDSECRET.COM,CDSECRET.COM,RDSECRET.COM
GENERAL FUNCTION: To allow special subdirectories on a drive that are not
revealed by DIR.
WHY IS IT NEEDED? There is no way in DOS to conceal entire subdirectories.
INSTALLATION: None
FORMAT: MDSECRET
CDSECRET
RDSECRET
EXAMPLES: None
HOW TO USE IT: These three programs all run analogously to MD,CD, and
RD, except that they take no DOS arguments.
To create a "secret" subdirectory, run MDSECRET. You will
be prompted for a name of up of 7 characters.
To copy files into your secret subdirectory, make it your current
subdirectory by running CDSECRET, then copy files into it. You will be
prompted for the secret subdirectory name. You can then use the normal
CD command to change subdirectories, as well as all normal DOS commands
and programs.
To remove a secret subdirectory, first make it your current directory,
then delete all files in it, and change subdirectories to one not within
your secret subdirectory. Then run RDSECRET, which will prompt you for
the name of the secret subdirectory to remove.
OTHER EFFECTS: None
SYSTEM REQUIREMENTS: Works with DOS 2.x and 3.0.
COMMENTS: None
SOURCE OF PROGRAM: Unknown.
***********************************************************************
October 1992:
v1.1, v1.2 Toad Hall disassembly and rewrite.
I remember these utilities from long ago (original file dates were
1985!). When they were distributed yet again via one of the FIDO Echoes,
I decided to disassemble and rewrite them.
Various tweaks and tightenings; trimming off the garbage XMODEM transfers
added to the end of the original executables, etc. Added usage and help,
added commandline parms as well as tightening the original prompted directory
name input. Various help switches ("?", "-h", "/h", etc.) as a paramter for
any of these utilities will now give you help. Adding the ability to process
a commandline parameter now lets you use them in batch files.
The rewrite is so extensive that I probably now have the right to officially
and finally declare these new versions to be in the Public Domain.
Let It Be So.
Still, all honor and glory to the ancient hacker (whose name has been lost
in the Mists of Time) that wrote them in the first place.
I believe these utilities should still be good for up through DOS 5.0.
Of course, I haven't *tested* them on anything beyond PC-DOS 3.1.
That's left as an exercise for the student.
No, there's no fancy pathing: you only get to enter up to 7 characters
for that directory name, and it's only gonna be made as a subdirectory for
your *current* level. So don't go getting tricky, like
CDSECRET C:\HOME\DUMP\FOO
It just ain't gonna happen. Or worse still, it just might. With *very*
unpredictable effects! On thy own head be it.
Usage: MDSECRET Prompts you for a directory name to create.
Gives help if you do something really
clever (or ignorant), like entering "?"
or just a Return, or an illegal name.
MDSECRET [?] Gives you short instructions on how to create
secret directories.
MDSECRET [foo] Creates secret directory "\foo" (kinda).
Returns various DOS or other error levels,
along with a simple error msg ("Error #x")
if the creation fails.
CDSECRET Just like above, but tries to *change* to that
secret directory.
RDSECRET Just like above, but tries to *remove* that
secret directory.
David Kirschbaum
Toad Hall
kirsch@sesi.com (Internet or uunet)
v1.3 Unbelievably stupid bug sneaked by .. and I *swear* I tested
this program! One line rem'ed out in GETPARM.INC. Dumb dumb dumb.
David Kirschbaum
Toad Hall
kirsch@sesi.com